<template>
    <div class="chart-content">

        <v-chart :options="options"
                 style="width: 100%;
                 height: 400px;
                 display: inline-block"/>
    </div>
</template>

<script>
    import ECharts from 'vue-echarts'

    export default {
        name: "line-chart",
        props: {
            options: {
                type: Object
            },
        },
        components: {
            'v-chart': ECharts
        },
    }
</script>

<style scoped lang="scss">

    .echarts {
        width: 50%;
        height: 80%;
    }
</style>